import request from "@/utils/request"

const getSubject = async()=>{
    const data = await request.get('/system/subject/findSubjectBySubType?sobId=1&subType=1');    
  return data
}
const editSubject = async()=>{
  const data = await request.post('/system/subject/updateSubjectBySubNo');
  console.log(data);
  
return data
}
const delSubject = async(subNo:any)=>{
  const data = await request.post(`/system/subject/delSubjectBySubNo/${subNo}`);
  console.log(data);
  
return data
}
export {
    getSubject,
    editSubject,
    delSubject
}